package org.zxn.study.strategy.impl;

import org.springframework.stereotype.Component;
import org.zxn.study.req.LoginReq;
import org.zxn.study.rsp.LoginResp;
import org.zxn.study.strategy.UserGranter;

/**
 * @ClassName SmsGranter
 * @Description: 短信登录实现类
 * @Author zxn
 * @Date 2025/7/10 11:43
 **/
@Component
public class SmsGranter implements UserGranter {

    @Override
    public LoginResp login(LoginReq loginReq)  {

        System.out.println("登录方式为短信登录" + loginReq);
        // 执行业务操作

        return new LoginResp();
    }
}
